package com.aaa.jiekougeli;

public interface Car {
    void wgpl();
    void nshh();
    void jgyh();
}

// 接口隔离原则
class NewCar implements  Car{

    @Override
    public void wgpl() {

    }

    @Override
    public void nshh() {

    }

    @Override
    public void jgyh() {

    }


}

class XueTieLong implements Car{

    @Override
    public void wgpl() {
        System.out.println("外观漂亮");
    }

    @Override
    public void nshh() {
        System.out.println("内饰豪华");
    }

    @Override
    public void jgyh() {
        System.out.println("价格优惠");
    }
}
